package com.genersoft.iot.vmp.storager.dao;

import com.genersoft.iot.vmp.gb28181.bean.DevicePeople;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface DevicePeopleMapper {

    @Insert("INSERT INTO wvp_device_people (" +
            "device_id, " +
            "address, " +
            "type, " +
            "file, " +
            "users, " +
            "alarm_time, " +
            "create_time" +
            ") VALUES (" +
            "#{deviceId}," +
            "#{address}," +
            "#{type}," +
            "#{file}," +
            "#{users}," +
            "#{alarmTime}," +
            "#{createTime}"+
            ")")
    void insert(DevicePeople devicePeople);
}
